{% extends 'home.html' %}
{% block content_main %}
    <div class="panel panel-info">
        <div class="panel-heading">
            <h3 class="panel-title">作者添加页面</h3>
        </div>
        <div class="panel-body">
            <form action="" method="post">
                <div class="form-group">
                    <label for="name">姓名</label>
                    <input type="text" id="name" class="form-control" name="name" required>
                </div>
                <div class="form-group">
                    <label for="age">年龄</label>
                    <input type="text" id="age" class="form-control" name="age" required>
                </div>
                <div class="form-group">
                    <label for="gender">性别</label>
                    <select name="gender" id="gender">
                        <option value="1">男</option>
                        <option value="2">女</option>
                        <option value="3">女</option>
                    </select>
                </div>
                <div class="form-group">
                    <label for="phone">手机号</label>
                    <input type="text" id="phone" class="form-control" name="phone" required>
                </div>
                <div class="form-group">
                    <label for="email">邮箱</label>
                    <input type="email" id="email" class="form-control" name="email" required>
                </div>
                <div class="form-group">
                    <label for="addr">地址</label>
                    <input type="text" id="addr" class="form-control" name="addr" required>
                </div>
                <button type="submit" class="btn btn-success">提交</button>
            </form>
        </div>
    </div>
{% endblock %}